package com.sl.biz.modular.process.service;


import com.sl.biz.modular.process.controller.request.ProcessCompObjectRebuildRequest;
import com.sl.biz.modular.process.dao.domain.dto.ProcessCompObjectDTO;
import com.sl.biz.modular.process.dao.domain.entity.ProcessCompObjectDO;

public interface ProcessCompObjectBizService {

    Boolean save(ProcessCompObjectDO processComp);

    ProcessCompObjectDTO getByCodeAndVersion(String compCode, String compVersion);

    Boolean saveAndRebuild(ProcessCompObjectRebuildRequest processComp);

    Boolean rebuild(ProcessCompObjectRebuildRequest processComp);

    void removeByCompCodeAndVersion(ProcessCompObjectDO processCompObjectDO);
}
